using System;

public class SteamGeneratorBlock:BlockMaterial
{
    public SteamGeneratorBlock():base("steam_generator")
    {
        SetDisplayName("蒸汽引擎");
        SetStateMax(2);
        SetBlockEntityCreate(() => new SteamGeneratorBlockEntity());
        SetTickEvent(Tick);
    }
    public void Tick(UpdataTickEvent e)
    {
            if (e.block.State == 0) e.block.SetState(1);
            else e.block.SetState(0);
            //todo
    }
}